package com.chixing.ih.filter;

import com.alibaba.druid.support.http.WebStatFilter;

import javax.servlet.annotation.WebFilter;
import javax.servlet.annotation.WebInitParam;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * 访问路径：http://localhost:8088/druid/login.html
 *
 * @version 1.0
 * @Author MasterYan
 * @Date 2020/10/4
 * Time: 11:08
 */
@WebFilter(filterName = "druidWebStatFilter", urlPatterns = "/*",
        initParams = {
                @WebInitParam(name = "exclusions", value = "*.js,*.gif,*.jpg,*.bmp,*.png,*.css,*.ico,/druid/*")//忽略资源
        }
)
public class DruidFilter extends WebStatFilter {

}